package field_method05;

public class Circle01 {
    public static void main(String[] args) {
        Circle c2 = new  Circle();
        Circle01 c3 = new Circle01();

        c3.printAreas(c2,5);
    }
    public void printAreas(Circle c,int time){
        System.out.println("半径" + "\t" + "\t" + "\t" + "面积");
        for (int i = 1; i <= time ; i++){
            c.radius = i;
            System.out.println(c.radius+"\t" + "\t" + "\t" + c.findarea());
        }
    }
}
